import { getAction, deleteAction, putAction, postAction, httpAction } from '@/api/manage'
import Vue from 'vue'
import { UI_CACHE_DB_DICT_DATA } from '@/store/mutation-types'
import { axios } from '@/utils/request'
import * as Depart from '@/views/system/depart/service.js'
import { serviceApi } from '@/api/common.js'
/**
 * 调用用户接口
 */
export const userApi = {
  users: serviceApi.auth + '/users' // 获取用户列表
}

/**
 * 调用部门接口
 */
export const departApi = {
  // 指定部门用户列表
  queryUserByDepId: (departId, params) => Depart.queryUserByDepId(departId, params),
  // 树形结构加载
  queryDepartTreeList: (params) => Depart.queryDepartTreeList(params)
}
